#ifndef MPHTTPEXCEPTION_H
#define MPHTTPEXCEPTION_H

#include <exception>
#include <string>

namespace MP{
namespace HTTP{

class HttpException: public std::exception
{
public:
    explicit HttpException(const std::string &message);
    explicit HttpException(std::string &&message);

    virtual const char *what() const noexcept override;

private:
    std::string message_;
};

}   //HTTP
}   //MP


#endif // MPHTTPEXCEPTION_H
